SimplePay\Core\PaymentForm\PriceOption B

Total Complexity 79
Dependencies 3
Dependents 14
Total lines 826
Lines of code 394
Logical lines of code 166
Comment lines 299
Methods 8
Properties 20

Methods 8

Method Rating Maintainability Complexity Lines of code
__construct()
D
25
37 169
get_generated_label()
B
36 15 89
get_simplified_label()
A
41 12 66
is_in_stock()
S
55 5 21
get_remaining_stock()
S
58 4 16
get_display_label()
S
56 3 21
to_array()
S
65 2 9
is_defined_amount()
S
80 1 3